.container {
  :global {
    .dialog-overlay {
      background-color: rgba(0, 0, 0, 0.5);
      position: fixed;
      inset: 0;
      animation: overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1);
      z-index: 999999;
    }

    .dialog-content {
      background-color: white;
      border-radius: 6px;
      box-shadow: 0px 10px 38px -10px rgba(22, 23, 24, 0.35),
        0px 10px 20px -15px rgba(22, 23, 24, 0.2);
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 90vw;
      max-width: 450px;
      max-height: 85vh;
      padding: 24px;
      animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1);
      z-index: 999999;
    }

    .dialog-title {
      font-size: 18px;
      font-weight: 600;
      color: #1a1a1a;
      margin-bottom: 20px;
    }

    .form-root {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .form-field {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .field-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .form-label {
      font-size: 14px;
      font-weight: 500;
      color: #1a1a1a;
    }

    .form-message {
      font-size: 13px;
      color: #ef4444;
      opacity: 0;
    }

    .form-field[data-invalid] .form-message {
      opacity: 1;
    }

    .form-input,
    .form-textarea {
      width: 100%;
      border: 1px solid #e5e7eb;
      border-radius: 4px;
      padding: 8px 12px;
      font-size: 14px;
      color: #1a1a1a;
      background: white;
      transition: all 0.2s;
    }

    .form-input:focus,
    .form-textarea:focus {
      outline: none;
      border-color: #3b82f6;
      box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
    }

    .form-field[data-invalid] .form-input,
    .form-field[data-invalid] .form-textarea {
      border-color: #ef4444;
    }

    .form-buttons {
      display: flex;
      justify-content: flex-end;
      gap: 12px;
      margin-top: 8px;
    }

    .button {
      padding: 8px 16px;
      border-radius: 4px;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s;
      border: none;
    }

    .button.cancel {
      background-color: #f3f4f6;
      color: #4b5563;
    }

    .button.cancel:hover {
      background-color: #e5e7eb;
    }

    .button.submit {
      background-color: #3b82f6;
      color: white;
    }

    .button.submit:hover {
      background-color: #2563eb;
    }

    @keyframes overlayShow {
      from {
        opacity: 0;
      }

      to {
        opacity: 1;
      }
    }

    @keyframes contentShow {
      from {
        opacity: 0;
        transform: translate(-50%, -48%) scale(0.96);
      }

      to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
      }
    }

  }
}